Release 10.1A: OpenEdge Application Server:
Developing WebSpeed Applications
convert-datetime
This function converts date and time between local and UTC (GMT) dates and times. Its return value is the
Location:utc-offsetglobal variable.web\method\cgiutils.iParameters:INPUT p_conversion AS CHARACTERThe type of conversion to perform. The valid values are:
INPUT p_idate AS DATEThe date to convert. Uses the DATE data type.
INPUT p_itime AS INTEGERThe time to convert, expressed as seconds since midnight.
OUTPUT p_odate AS DATEThe converted date.
OUTPUT p_otime AS INTEGERThe converted time.
Returns: CHARACTER Notes: The conversions between local and UTC time are also normalized so that the value of time is between zero and the number of seconds per day. Examples: See theformat-datetimefunction inweb\method\cgiutils.i.
|
Copyright © 2005 Progress Software Corporation www.progress.com Voice: (781) 280-4000 Fax: (781) 280-4095 |